<template>
    <div class="demo">
        <h2>学生姓名:{{ name }}</h2>
        <h2>学生性别:{{ sex }}</h2>
        <input type="hello" v-fbind:value="name">插件里的自定义指令v-fbind，跟v-bind一样
        <button @click="hello">点我测试插件里的给Vue原型上绑定的hello方法</button>
    </div>
</template>

<script>
import Vue from 'vue';
export default Vue.extend({
    name: 'Student',
    data() {
        return {
            name: "张三",
            sex: "男",
        }
    },
}) 
</script>

<style>
</style>